﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Photograp.Models
{

    public class Photo
    {
        [Key]
        public int PhotoId { get; set; }
        public int Position { get; set; }
        public string Description { get; set; }
        public int? AlbumId { get; set; }
        public DateTime? CreatedOn { get; set; }
        public DateTime? ModifiedOn { get; set; }
        public string UrlPhoto { get; set; }
        public string SmallThumb { get; set; }
    }

    public class SortedPhoto
    {
        public int PhotoId { get; set; }
        public int Position { get; set; }
    }
}
